import math
import os

if __name__ == "__main__":
    for i in range(1, 11):
        CLSNUM = i*20
        for j in range(1, 11):
            EACHNUM = j*20
            cmd_str1= './gene_new_modelproto.sh {} {}'.format(CLSNUM, EACHNUM)
            cmd_str2= './gene_new_solverproto.sh {} {}'.format(CLSNUM, EACHNUM)
            os.system(cmd_str1)
            os.system(cmd_str2)
